package com.goods.business.service;

import com.goods.common.error.SystemException;
import com.goods.common.vo.business.SupplierVO;
import com.goods.common.vo.system.PageVO;

import java.util.List;

/**
 * description:
 * create by sxy 2021/6/8
 */
public interface SupplierService {
    PageVO<SupplierVO> findSupplierList(Integer pageNum, Integer pageSize, SupplierVO supplierVO);

    //添加物资来源信息
    void add(SupplierVO supplierVO) throws SystemException;

    //编辑物资来源信息之回显
    SupplierVO edit(Long id);
    //修改物资来源信息
    void update(Long id, SupplierVO supplierVO) throws SystemException;

    //删除物资来源信息
    void delete(Long id) throws SystemException;
    //入库添加时，加载来源的数据
    List<SupplierVO> findAll();
}
